export const courseRoute = [
  {
    path: '/course',
    component: () => import('@/pages/course/views/index/index.vue'),
    meta: { title: '佰茵云课程-首页' },
  },
  {
    path: '/course/detail',
    component: () => import('@/pages/course/views/course/detail.vue'),
    meta: { title: '佰茵云课程-课程详情' },
  },
  {
    path: '/course/lecturer',
    component: () => import('@/pages/course/views/index/lecturer.vue'),
    meta: { title: '佰茵云课程-主页' },
  },
  {
    path: '/course/a',
    component: () => import('@/pages/course/views/layout/index.vue'),
    meta: { title: '佰茵云课程' },
    redirect: '/course/index',
    children: [
      // {
      //   path: '/course/lecturer',
      //   component: () => import('@/pages/course/views/index/lecturer.vue'),
      //   meta: { title: '佰茵云课程-主页' },
      // },
      {
        path: '/course/course',
        component: () => import('@/pages/course/views/course/index.vue'),
        meta: { title: '佰茵云课程-课程' },
      },
      {
        path: '/course/comment',
        component: () => import('@/pages/course/views/comment/index.vue'),
        meta: { title: '佰茵云课程-评论' },
      },
      {
        path: '/course/community',
        component: () => import('@/pages/course/views/community/index.vue'),
        meta: { title: '佰茵云课程-社区帖子' },
      },
    ],
  },
]
